﻿<UserControl x:Class="Silverlight.Sample.Bubble"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:eternal="clr-namespace:Eternal.DataVisualization;assembly=Eternal.DataVisualization.Silverlight"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">
    
    <Grid x:Name="LayoutRoot" Background="White">
        <eternal:CartesianChart>
            <eternal:CartesianChart.XAxis>
                <eternal:XAxis Header="Date"/>
            </eternal:CartesianChart.XAxis>
            <eternal:CartesianChart.YAxis>
                <eternal:YAxis Header="Value"/>
            </eternal:CartesianChart.YAxis>
            <eternal:BubbleSeries  BubbleSizePath="Value" ItemsSource="{Binding Datas}" PrimaryPath="Name" SecondaryPath="Value">
            </eternal:BubbleSeries>
        </eternal:CartesianChart>
    </Grid>
</UserControl>
